﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SharpMUD.Framework.Services.Net;
using SharpMUD.Framework.Services.Configuration;
using SharpMUD.Framework.Workflow.Generic;

namespace SharpMUD.Framework.Services.Telnet {

    [ServiceDependency(typeof(IConfigurationProvider))]
	public partial class TelnetServer 
        : IConfigurableService<TelnetServerConfiguration>
    {
        protected static readonly log4net.ILog log = log4net.LogManager.GetLogger(typeof(SharpMUD.Framework.ComponentModel.IService).Assembly,System.Reflection.MethodInfo.GetCurrentMethod().DeclaringType);
        System.Threading.CancellationTokenSource _PulseCancellationTokenSource = new System.Threading.CancellationTokenSource();

        public TelnetServer()
        {
            this.ExecutionStatus = ExecutionStatusTokens.UnInitialized;
        }

        public TelnetServerConfiguration Configuration
        {
            get;
            private set;
        }

        #region IConfigurableService Members

        IServiceConfiguration IConfigurableService.Configuration
        {
            get { return this.Configuration; }
        }

        #endregion
    }
}
